package org.jeecg.modules.demo.com.kunpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 商品价目表
 * @Author: jeecg-boot
 * @Date:   2023-01-11
 * @Version: V1.0
 */
@Data
@TableName("commodity_price")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="commodity_price对象", description="商品价目表")
public class CommodityPrice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String tradeName;
	/**商品编码*/
	@Excel(name = "商品编码", width = 15)
    @ApiModelProperty(value = "商品编码")
    private String commodityCode;
	/**商品分类*/
	@Excel(name = "商品分类", width = 15)
    @ApiModelProperty(value = "商品分类")
    private String commdityClassification;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String specification;
	/**供货商*/
	@Excel(name = "供货商", width = 15)
    @ApiModelProperty(value = "供货商")
    private String supplier;
	/**商品品牌*/
	@Excel(name = "商品品牌", width = 15)
    @ApiModelProperty(value = "商品品牌")
    private String commodityBrand;
	/**计价单价*/
	@Excel(name = "计价单价", width = 15)
    @ApiModelProperty(value = "计价单价")
    private BigDecimal pricingUnitPrice;
	/**采购含税单价*/
	@Excel(name = "采购含税单价", width = 15)
    @ApiModelProperty(value = "采购含税单价")
    private BigDecimal purchaseIncludTax;
	/**采购税率*/
	@Excel(name = "采购税率", width = 15)
    @ApiModelProperty(value = "采购税率")
    private Double purchaseTaxRate;
	/**采购折扣率*/
	@Excel(name = "采购折扣率", width = 15)
    @ApiModelProperty(value = "采购折扣率")
    private Double purchaseDiscountRate;
	/**销售单价*/
	@Excel(name = "销售单价", width = 15)
    @ApiModelProperty(value = "销售单价")
    private BigDecimal salesUnitPrice;
	/**销售税率*/
	@Excel(name = "销售税率", width = 15)
    @ApiModelProperty(value = "销售税率")
    private Double salesTaxRate;
	/**销售折扣率*/
	@Excel(name = "销售折扣率", width = 15)
    @ApiModelProperty(value = "销售折扣率")
    private Double salesDiscountRate;
	/**最低限价*/
	@Excel(name = "最低限价", width = 15)
    @ApiModelProperty(value = "最低限价")
    private BigDecimal floorPrice;
	/**商品介绍*/
	@Excel(name = "商品介绍", width = 15)
    @ApiModelProperty(value = "商品介绍")
    private String productIntroduction;
	/**制单人ID*/
	@Excel(name = "制单人ID", width = 15)
    @ApiModelProperty(value = "制单人ID")
    private String creatorId;
	/**制单人姓名*/
	@Excel(name = "制单人姓名", width = 15)
    @ApiModelProperty(value = "制单人姓名")
    private String creatorName;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private String isDelete;
	/**供货周期*/
	@Excel(name = "供货周期", width = 15)
    @ApiModelProperty(value = "供货周期")
    private String supplyCycle;
	/**单位*/
	@Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String company;
}
